data modify storage vs:system temp.VSPB.Slotid set value 1
function vs:system/game_ctrol/void_shop/page_button/get_last_notnull_slot_index/get with storage vs:system temp.VSPB
scoreboard players reset #success temp
function vs:system/game_ctrol/void_shop/page_button/get_last_notnull_slot_index/return